package com.atguigu.gmall.list.service;

import com.atguigu.gmall.model.list.SearchParam;
import com.atguigu.gmall.model.list.SearchResponseVo;

import java.util.Map;

public interface SearchService {
    /**
     * 上架商品
     * @param skuId
     */
    public void upperGoods(Long skuId);

    /**
     * 下架商品
     * @param skuId
     */
    public void lowerGoods(Long skuId);

    /**
     * 更新热点
     * @param skuId
     */
    public void incrHotScore(Long skuId);

    /**
     * 搜索列表
     * @param searchParam
     * @return
     */
    public SearchResponseVo search(SearchParam searchParam, Map<String,String> searchMap);
}
